
#pragma once

#include "Widget.h"

class Panel : public Widget
{
	public:

		Panel( Widget* pxParent );
		virtual ~Panel();

		virtual void	SetImage		( const StringHash xHash );
		virtual void	SetColour		( const u_int uColour );
		virtual void	SetHasBorder	( const bool bHasBorder ) { m_bBorder = bHasBorder; }
		virtual void	SetBorderWidth	( float fBorder ) { m_fBorderWidth = fBorder; }
		
		virtual void	Render			( );

		virtual bool	CanHaveChildren	( ) const;

	protected:

		bool CanGetFocus() { return false; }

		StringHash	m_xImage;
		u_int		m_uColour;
		float		m_fBorderWidth;
		bool		m_bBorder;
};

//eof
